//
//  LSYAlertSourceView.h
//  LSYReader
//
//  Created by sam on 2018/4/16.
//  Copyright © 2018年 okwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LSYParseModel.h"
#import "EVAlertView.h"
@protocol LSYAlertSourceViewDelegate<NSObject>
- (void)selectedRule:(LSYParseModel *)rule;
@end

@interface LSYAlertSourceView : UIView<UITableViewDelegate,UITableViewDataSource>
@property (nonatomic,strong) IBOutlet UITableView *tableView;
@property (nonatomic,strong) IBOutlet UIButton *button;
@property (nonatomic,strong) IBOutlet UIActivityIndicatorView *indicatorView;
@property (nonatomic,strong) NSArray *rules;
@property (nonatomic,strong) LSYParseModel *rule;
@property (nonatomic,copy) void(^refreshBlock)(void);
@property (weak, nonatomic) id<TDAlertViewDelegate> delegate;
@property (nonatomic,weak) id<LSYAlertSourceViewDelegate>mDelegate;
- (void)endRefresh;
@end
